Skip to content

Conversation

@Berlizov
Copy link
Contributor

@Berlizov Berlizov commented May 12, 2024

The rule for identifying getters has been modified to support record-like getters (#212).
Now, any method that takes no parameters and returns a type other than void is considered a getter.
Automatic generation has been disabled for methods returning a generic type (such as T or List).
Additionally, an issue with generating asserts with an empty parameter name for the get() method (#216) has been fixed.


@scordio scordio deleted the branch assertj:main September 15, 2024 10:16
@scordio scordio closed this Sep 15, 2024
@scordio scordio reopened this Sep 15, 2024
@scordio scordio added this to the 3.0.0-M4 milestone Apr 21, 2025
@scordio scordio self-assigned this May 12, 2025
@scordio scordio changed the title Record-like getters support #212 #216 Add support for Record-like getters May 13, 2025
@scordio
Copy link
Member

scordio commented May 13, 2025

Superseded by #269.

@scordio scordio closed this May 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Blank parameter name in case of get() with @GenerateAssertion Generate assertions for Java records

2 participants